from application import app, manager
from flask_script import Server
import www

# web server 自定义命令行
manager.add_command("run", Server(host='0.0.0.0', port=app.config['SERVER_PORT'], use_debugger=True, use_reloader=True))


def main():
    manager.run()


if __name__ == '__main__':
    main()
